
    <div class="modal-header">
        <h5 class="modal-title" ng-show="!hasQuartz">设置定时任务</h5>
        <h5 class="modal-title" ng-show="hasQuartz">修改定时任务</h5>
        <div style="float: right" ng-show="hasQuartz">
            <button ng-click="cancelQuartz(quartzConfig)" type="button" class="btn btn-secondary" data-toggle="modal"
                    data-target="#cancelQuartz">
                取消定时任务
            </button>
        </div>
    </div>
    <div class="modal-body">

        <div class="input-group mb-3">
            <div class="input-group-prepend">
                <span class="input-group-text">rule_id</span>
            </div>
            <input ng-model="quartzConfig.ruleId" type="text" class="form-control"
                   aria-label="Sizing example input" aria-describedby="inputGroup-sizing-default" readonly>
        </div>
        <div class="input-group mb-3">
            <div class="input-group-prepend">
                <span class="input-group-text">corn表达式</span>
            </div>
            <input ng-model="quartzConfig.cron" type="text" class="form-control"
                   aria-label="Sizing example input" aria-describedby="inputGroup-sizing-default">
        </div>

    </div>
    <div class="modal-footer">
        <button type="button" class="btn btn-secondary" data-dismiss="modal" ng-click="cancel()">取消</button>
        <button type="button" class="btn btn-primary" data-dismiss="modal" ng-click="addQuartzSure(quartzConfig)" ng-show="!hasQuartz">
            保存
        </button>
        <button type="button" class="btn btn-primary" data-dismiss="modal" ng-click="modifyQuartzSure(quartzConfig)" ng-show="hasQuartz">
            确认修改
        </button>
    </div>
    <hr>
    <div class="modal" id="cancelQuartz" tabindex="-1" role="dialog">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title">确认取消</h5>
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                    </button>
                </div>
                <div class="modal-body">
                    <p>确定取消吗？</p>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-primary" data-dismiss="modal" ng-click="cancelQuartzSure()">是</button>
                    <button type="button" class="btn btn-secondary" data-dismiss="modal">否</button>
                </div>
            </div>
        </div>
    </div>
    <div class="modal-header">
        <h5 class="modal-title" >设置手工任务</h5>
      <!--  <h5 class="modal-title" ng-show="isRun==true">设置手工任务(任务正在运行)</h5>-->
        <div style="float: right" >

            <a ng-click="start()" ng-class="isEnd==true&&isRun==false ? 'btn btn-primary':'btn btn-primary disabled'"  tabindex="-1" role="button" >  启动任务</a>

        </div>
    </div>
